package com.wondertek.service.dto.business.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @description:
 * @author: qinjianhui
 * @create: 2024-08-24 15:27
 **/
@Data
public class DeviceNetworkSetModeReq {
    @NotBlank(message = "device.id.not.null")
    @Schema(name = "id",description = "设备id")
    private String id;

    @NotNull(message = "mode.type.not.null")
    @Schema(name = "modeType",description = "布防状态：1-出门，2-在家，3-撤防")
    private Integer modeType;
}

